package gui;

public class ThreadIniciar extends Thread{
	
	
	public void run() {
		Splash splash = new Splash(null);					
		splash.setVisible(true);
		try {						
			sleep(2000);
			Principal principal = Principal.getInstancia();	
			splash.dispose();
			principal.setVisible(true);
			sleep(500);
			principal.checarLote();
		} catch (InterruptedException e) {			
		}
		
		
	}
	
	public static void main(String[] args) {
		ThreadIniciar thread = new ThreadIniciar();
		thread.start();
	}

}
